export const getOptions = (
    dataSource: string[],
    studentData: number[],
    studentQualityData: number[],
) => {
    return {
        xAxis: {
            type: 'category',
            data: dataSource,
        },
        yAxis: {
            type: 'value',
        },
        textStyle: {
            fontSize: 14,
            lineHeight: 28,
            color: '#333',
        },
        grid: {
            top: 13,
            left: '1%',
            right: 0,
            bottom: 20,
            containLabel: true,
        },
        series: [
            {
                data: studentData,
                type: 'line',
                showSymbol: false,
                lineStyle: {
                    width: 4,
                    step: false,
                    color: '#B62DFF',
                },
            },
            {
                data: studentQualityData,
                type: 'line',
                showSymbol: false,
                lineStyle: {
                    width: 4,
                    color: '#FF8252',
                },
            },
        ],
    }
}
